﻿using ZhiKeDuoServer.Model;
using System.Collections.Generic;

namespace IDAL
{
    public interface IBase<T>
    {
        /// <summary>
        /// 添加一个实力
        /// </summary>
        /// <param name="model"></param>
        /// <returns></returns>
        bool Add(T model);
      
     
        bool DeleteList(int[] ids);
     
        List<T> GetList(string strWhere);
        List<T> GetListByPage(string strWhere, string orderby, int Pagesize, int page);
        int GetRecordCount(string strWhere);
     }
}